﻿@using Super.Common.Validate
@using Super.DomainService
@using Super.Infrastructure
@model Supplier
@{
    ViewBag.Title = "供应商资料管理";
}
@using (Html.AjaxBeginForm("edit", "supplier"))
{
    <div class="pageFormContent" layouth="56">
        @Html.HiddenFor(a => a.ID)
        @Html.DWZTextBoxFor(a => a.Name, "名称").Required()
        @Html.DWZTextBoxFor(a => a.ContactName, "联系人").Required()
        @Html.DWZTextBoxFor(a => a.Telephone, "联系电话").Required()
        @Html.DWZTextBoxFor(a => a.Address, "地址")
        @Html.DWZTextBoxFor(a => a.WangWang, "旺旺")
        @Html.DWZTextBoxFor(a => a.QQ, "QQ")
        @Html.DWZTextBoxFor(a => a.Url, "网址").Required().Url()
        @Html.HiddenFor(a=>a.BuyGoodsCount)
        @Html.HiddenFor(a => a.TotalPrice)
    </div>
    @Html.DWZFormBar()
}
